{load_language_text section="db_backup"} {block name="admin_db_backup"} {if !empty($content_data.incomplete_restore)} {block name="admin_db_backup_incomplete_restore"}
{* !empty(): the key itself may be missing, and Smarty renders inside an output buffer, so an undefined-key warning would land in the HTML. *} {if !empty($txt.restore_incomplete_headline)} {$txt.restore_incomplete_headline}
{$txt.restore_incomplete} {if $content_data.incomplete_restore.backup_file != '' || $content_data.incomplete_restore.started_at != ''}

{$txt.restore_incomplete_backup}: {$content_data.incomplete_restore.backup_file|escape}
{$txt.restore_incomplete_started}: {$content_data.incomplete_restore.started_at|escape} {if $content_data.incomplete_restore.current_file != '' && $content_data.incomplete_restore.current_file != $content_data.incomplete_restore.backup_file}
{$txt.restore_incomplete_last_file}: {$content_data.incomplete_restore.current_file|escape} {/if} {/if} {else} {* A restore replays the table these texts are read from, so a backup taken before this warning existed leaves them empty - precisely the situation the warning is for. The fixed sentence is an emergency fallback only, not a translation; it beats an empty red box. *} The last restore did not finish - the database is incomplete.
Please run the restore again from the very beginning. {if $content_data.incomplete_restore.backup_file != ''}

{$content_data.incomplete_restore.backup_file|escape} — {$content_data.incomplete_restore.started_at|escape} {/if} {/if}
{/block} {/if} {if count($content_data.errors) == 0} {block name="admin_db_backup_no_erros"} {block name="admin_db_backup_list"}
{block name="admin_db_backup_list_headline"}
{$txt.date}
{$txt.filename}
{$txt.size}
{/block} {foreach item=file from=$content_data.files} {block name="admin_db_backup_list_row"}
{$file.filedate_formatted}
{$file.filesize}
{/block} {/foreach} {if empty( $content_data.files )} {block name="admin_db_backup_list_empty"}
{$txt.no_backups_created}
{/block} {/if}
{/block} {block name="admin_db_backup_path"}
{$txt.backup_directory}: {$content_data.backup_path}
{/block} {block name="admin_db_backup_buttons"}
{block name="admin_db_backup_buttons_left"} {/block}
{block name="admin_db_backup_buttons_right"} {if !empty( $content_data.files )} {block name="admin_db_backup_buttons_right_restore"} {$txt.restore} {/block} {/if} {block name="admin_db_backup_buttons_right_backup"} {$txt.create_backup} {/block} {/block}
{/block} {/block} {else} {block name="admin_db_backup_errors"}
{foreach from=$content_data.errors item=error} {$error}
{/foreach}
{/block} {/if} {/block}